<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link href="/Public/Home/css/bootstrap.min.css" rel="stylesheet">
    <link href="/Public/Home/css/site.css" rel="stylesheet">
    <!--[if lt IE 9]>
      <script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
      <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
    <script src="/Public/Home/js/bootstrap.min.js"></script>
    <!-- 百度统计 -->
    <script>
        var _hmt = _hmt || [];
        (function() {
            var hm = document.createElement("script");
            hm.src = "https://hm.baidu.com/hm.js?c405a21f6948b611229bdf8570025f78";
            var s = document.getElementsByTagName("script")[0]; 
            s.parentNode.insertBefore(hm, s);
        })();
    </script>
    <title>印海-查询详细页</title>
</head>
<body>
    <div class="navbar navbar-default navbar-fixed-top">
        <div class="container">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="<?php echo U('Home/Index/index');?>">返回查询</a>
            </div>
        </div>
    </div>
<div class="row details" style="margin-top: -60px;">
    <p class="title">详细信息&nbsp;&nbsp;<a href="javascript:history.back(-1);" class="btn btn-default">返回查看</a></p>
    <div class="col-md-8 col-md-offset-2">
        <div class="col-md-6 col-sm-6">
            <img src="<?php echo ($data["kid"]); ?>" />
        </div>
        <div class="col-md-6 col-sm-6">
            <!--
            <dl>
                <dt>印文：</dt>
                <dd><?php echo ($data["yw2"]); ?></dd>
                <dt>年代暨作者：</dt>
                <dd><?php echo ($data["shidai"]); ?></dd>
                <dt>性质：</dt>
                <dd><?php echo ($data["xingzhi"]); ?></dd>
                <dt>质地：</dt>
                <dd><?php echo ($data["zhidi"]); ?></dd>
                <dt>钮式：</dt>
                <dd><?php echo ($data["niushi"]); ?></dd>
                <dt>著録：</dt>
                <dd><?php echo ($data["zhulu"]); ?></dd>
                <dt>藏所：</dt>
                <dd><?php echo ($data["store"]); ?></dd>
                <dt>备注：</dt>
                <dd><?php echo ($data["beizhu"]); ?></dd>
            </dl>
            -->
            <style>
            td{text-align: left;}
            th{width:60px;}
            </style>
            <table class="table table-bordered" style="margin-top: 10px;">
                <tr>
                    <th>印文：</th>
                    <td colspan="3"><?php echo ($data["yw2"]); ?></td>
                </tr>
                <tr>
                    <th>年代暨作者：</th>
                    <td><?php echo ($data["shidai"]); ?></td>
                    <th>性质：</th>
                    <td width="35%"><?php echo ($data["xingzhi"]); ?></td>
                </tr>
                <tr>
                    <th>质地：</th>
                    <td><?php echo ($data["zhidi"]); ?></td>
                    <th>钮式：</th>
                    <td><?php echo ($data["niushi"]); ?></td>
                </tr>
                <tr>
                    <th>著録：</th>
                    <td colspan="3"><?php echo ($data["zhulu"]); ?></td>
                </tr>
                <tr>
                    <th>藏所：</th>
                    <td colspan="3"><?php echo ($data["store"]); ?></td>
                </tr>
                <tr>
                    <th>备注：</th>
                    <td colspan="3" style="text-indent: 2em;"><?php echo ($data["beizhu"]); ?></td>
                </tr>
            </table>
        </div>
    </div>
    <?php if($data["biankuan1"] != null or $data["biankuan2"] != null or $data["biankuan3"] != null or $data["biankuan4"] != null): ?><div class="col-md-10 col-md-offset-1 pk">
        <p class="pk_title">印章边款</p>
        <?php if(!empty($data["biankuan1"])): ?><div class="col-md-3 col-sm-6">
            <img src="<?php echo ($data["biankuan1"]); ?>" />
            <p><span>边款一</span></p>
        </div><?php endif; ?>
        <?php if(!empty($data["biankuan2"])): ?><div class="col-md-3 col-sm-6">
            <img src="<?php echo ($data["biankuan2"]); ?>" />
            <p><span>边款二</span></p>
        </div><?php endif; ?>
        <?php if(!empty($data["biankuan3"])): ?><div class="col-md-3 col-sm-6">
            <img src="<?php echo ($data["biankuan3"]); ?>" />
            <p><span>边款三</span></p>
        </div><?php endif; ?>
        <?php if(!empty($data["biankuan4"])): ?><div class="col-md-3 col-sm-6">
            <img src="<?php echo ($data["biankuan4"]); ?>" />
            <p><span>边款四</span></p>
        </div><?php endif; ?>
    </div><?php endif; ?>
</div>
<hr />
<footer>
    <p>&copy; 2018 - 平湖玺印篆刻博物馆</p>
</footer>
</body>
</html>